-
Notifications
You must be signed in to change notification settings - Fork 20
Fixes for things found with the NSS regression suite #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4c38cd8 to
94ad8ff
Compare
|
@julek-wolfssl when back could you review this? Please un-assign yourself and assign to wolfssl-bot when ready for final review/merge. |
6a48d28 to
c929ebf
Compare
bb1c7dd to
6e43521
Compare
857da01 to
1fcfe68
Compare
* Declare `CKM_HKDF_KEY_GEN` properly * Increase object cuonts for NSS * Add configdir parameter during `C_Initialize` for NSS
`C_CopyObject` was not doing a proper copy. This changes the behaviour so that it does.
Length calculation was incorrect, causing an error. In addition, lengths for arrays were double-stored.
cf9ac1e to
815123c
Compare
dgarske
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get this PR merged. Reviewed and tested
|
Note: There is an occasional issue with TPM based ECC verify I am trying to locate. Only happens on the ARM cross compiled tests. |
douzzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a note to revisit the XMEMSET() of sensitive data -- change to ForceZero() in a follow-up PR.
CKM_HKDF_KEY_GENproperlyC_Initializefor NSSC_CopyObjectwas not doing a proper copy. This changes the behaviour so that it does.C_CopyObjecttemplate check if there is aulCountWP_EC_Derivewould crash when the point isn't DER encodedCKM_RSA_PKCSto wrap and unwrapC_Decryptshould returnCKR_ENCRYPTED_DATA_INVALIDwhen decryptionfails
CKO_DATAobjects